package com.hwadee.ems.enums;

import com.fasterxml.jackson.annotation.JsonValue;

import com.baomidou.mybatisplus.annotation.EnumValue;

import lombok.Getter;

@Getter
public enum Session {
    FIRST_SECOND(0, "1-2"),
    THIRD_FIFTH(1, "3-5"),
    SIXTH_SEVENTH(2, "6-7"),
    EIGHTH_NINTH(3, "8-9"),
    TENTH_ELEVENTH(4, "10-12"),
    TWELFTH_THIRTEENTH(5, "13-15");

    @EnumValue
    private final int value;
    @JsonValue
    private final String description;

    Session(int value, String description) {
        this.value = value;
        this.description = description;
    }
    
}
